package com.cn.common.module.chat.websocket;

import java.io.Serializable;

/**
 * @Author: jia
 * @Descirption:
 * @Date: 2018/5/14 10:03
 * @Modified By:
 */


public class ChatHttpResponse implements Serializable{

    /**
     * 发送者id
     */
    private long sendPlayerId;

    /**
     * 玩家名
     */
    private String sendPlayerName;

    /**
     * 目标玩家
     */
    private String tartgetPlayerName;

    /**
     * 消息类型
     * 0 广播消息
     * 1 私聊
     * {@link ChatType}
     */
    private byte chatType;

    /**
     * 消息
     */
    private String message;

    public long getSendPlayerId() {
        return sendPlayerId;
    }

    public void setSendPlayerId(long sendPlayerId) {
        this.sendPlayerId = sendPlayerId;
    }

    public String getSendPlayerName() {
        return sendPlayerName;
    }

    public void setSendPlayerName(String sendPlayerName) {
        this.sendPlayerName = sendPlayerName;
    }

    public String getTartgetPlayerName() {
        return tartgetPlayerName;
    }

    public void setTartgetPlayerName(String tartgetPlayerName) {
        this.tartgetPlayerName = tartgetPlayerName;
    }

    public byte getChatType() {
        return chatType;
    }

    public void setChatType(byte chatType) {
        this.chatType = chatType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
